package com.xq.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 设备指令记录表
 * </p>
 *
 * @author wuven
 * @since 2025-07-03
 */
@Getter
@Setter
@TableName("dms_device_commands")
public class DmsDeviceCommands implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;

    /**
     * 设备ID
     */
    @TableField("device_id")
    private String deviceId;

    /**
     * 指令类型
     */
    @TableField("command_type")
    private String commandType;

    /**
     * 指令内容
     */
    @TableField("command_content")
    private String commandContent;

    /**
     * 发送者ID
     */
    @TableField("sender_id")
    private String senderId;

    /**
     * 执行状态
     */
    @TableField("status")
    private String status;

    /**
     * 执行时间
     */
    @TableField("execute_time")
    private LocalDateTime executeTime;

    /**
     * 响应结果
     */
    @TableField("response")
    private String response;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


}
